FlexReport for WinForms | ComponentOne
C1.Win.C1Document.4.5.2 Assembly / C1.Win.C1Document Namespace / C1SortedList<TKey,TValue> Class / Add Method

In This Topic
    Add Method (C1SortedList<TKey,TValue>)
    In This Topic
    Adds value to the list, returns index of the added value, throws exception if value with specified key already exists.
    Syntax
    'Declaration
     
    Public Function Add( _
       ByVal key As TKey, _
       ByVal value As TValue _
    ) As Integer
    public int Add( 
       TKey key,
       TValue value
    )

    Parameters

    key
    value
    See Also